package com.itcncp.ucenter.dao.mapper;

import com.itcncp.ucenter.dao.model.UserCarInfo;
import com.itcncp.ucenter.dao.model.UserCarInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCarInfoMapper {
    long countByExample(UserCarInfoExample example);

    int deleteByExample(UserCarInfoExample example);

    int deleteByPrimaryKey(@Param("userId") Long userId, @Param("plate") String plate);

    int insert(UserCarInfo record);

    int insertSelective(UserCarInfo record);

    List<UserCarInfo> selectByExample(UserCarInfoExample example);

    UserCarInfo selectByPrimaryKey(@Param("userId") Long userId, @Param("plate") String plate);

    int updateByExampleSelective(@Param("record") UserCarInfo record, @Param("example") UserCarInfoExample example);

    int updateByExample(@Param("record") UserCarInfo record, @Param("example") UserCarInfoExample example);

    int updateByPrimaryKeySelective(UserCarInfo record);

    int updateByPrimaryKey(UserCarInfo record);
}